@extends('layouts.master')

@section('title')
    Iniciar sesión
@stop

@section('content')
<!-- log-in admin user form -->
<div class="row">
        <div>
          <section class="panel">
            <div class="panel-body">
			{{ Form::open(array('url'=>'admins/login')) }}
			    <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
			    
			    <div class="form-group">
					{{ Form::label('username', 'Nombre de usuario') }}
					{{ Form::text('username', Input::old('username'), array('class' => 'form-control')) }}
				</div>
				<div class="form-group">
					{{ Form::label('password', 'Contraseña') }}
					{{ Form::password('password', array('class'=>'form-control')) }}
				</div>
				
			    {{ Form::submit('Login', array('class'=>'btn btn-primary'))}}
			    
			{{ Form::close() }}
			</div>
		</section>
	</div>
</div>
@stop